package com.example.Annocation.value.commons;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Description TODO
 * @Date 2024/5/15 10:37
 * @Created by houjunfeng
 */
@Data
public class Person {
    @Value("${person.name}")
    public String name;
    @Value("#{22-2}")
    public Integer age;
    @Value("22")
    public Integer score;
    public Person(){
    }
}
